#ifndef __PROTOCOLE_H__
#define __PROTOCOLE_H__

#include<stdio.h>
#include<stdlib.h>
#include<ctype.h>
#include<strings.h>
#include <regex.h>

#include "../common/common.h"

int PORT;
char IP[IPSIZE];
char PATH[NAMESIZE] = "./";


#define MAX_TAILLE_OPTION 10
#define MAX_TAILLE_VALEUR 20
#define MAX_TAILLE_CMD 50

void cmd_set(char* option);
return_t handle_prot(char *buf);

#endif /* PROTOCOLE_H_ */
